home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 656 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: aargh.incubus.sub.org!marc
  2. From: marc@aargh.incubus.sub.org (Marc 'Nepomuk' Heuler)
  3. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.applications
  4. Subject: How to break an ARexx program?
  5. Message-ID: <F9DVx*cia@aargh.incubus.sub.org>
  6. Date: Tue, 09 Jan 1996 18:18:17 CET
  7. Reply-To: marc@aargh.incubus.sub.org
  8. FollowUp-To: comp.sys.amiga.programmer
  9. Organization: Data Design
  10. X-Newsreader: Arn V1.03a
  11.  
  12. I need to break an ARexx program on a very special setup.
  13.  
  14. The ways I know to break an ARexx program are the following - and all of
  15. them can't be used for some reason:
  16.  
  17. 1.  Hit ^C.  Not possible because nobody is around to hit ^C.
  18.  
  19. 2.  Use InsertKey to hit ^C.  Not possible because the computer is
  20.     protected against unauthorized keyboard/mouse input with a password
  21.     screen blanker. Unblanking from remote to InsertKey ^C would be a
  22.     security disaster.
  23.  
  24. 3.  Use Break <procnum>. Does not work, I tried.
  25.  
  26. 4.  Use RexxC/HI. This works, but is global. It also breaks the logfile
  27.     pipe daemon and thereby causes all programs to freeze on further
  28.     logfile output.
  29.  
  30. 5.  Use the PRAGMA('ID') task block to set SIGBREAKF_CTRL_C signal. This
  31.     does not work, I tried.
  32.  
  33. 6.  Continously check for a temporary file. If it's gone, exit. This does
  34.     work. However, the ARexx program flow splits up in many parts, even
  35.     loading subprograms from disk. The main loop can be omitted by the
  36.     program flow for as long as 10 minutes.
  37.  
  38.     The program, however, must response quickly to a break
  39.     (time limit = remote users' patience)
  40.  
  41. 7.  Add an ARexx port and read the break command from there. Does work, but
  42.     is inappropriate - see reasoning 6.
  43.  
  44. Now, is there anything I missed?  I can't imagine that my setup related
  45. requirements are too strong for ARexx?!
  46.